CC = g++ 

TARGET = app

SRC = $(wildcard ./../src/*.cpp) $(wildcard ./*.cpp)

OBJ = $(patsubst %.cpp, %.o, ${SRC})

FLAG = -Wall -std=c++11 -I./../include/

${TARGET} : ${OBJ}
	${CC} $^ -o $@

%.o : %.cpp 
	${CC} -c ${FLAG} $^ -o $@

.PHONY : clean	
clean:
	-rm ${TARGET} ${OBJ}

